package com.ruoyi.yl.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.yl.domain.vo.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Author: linKe
 * @Date: 2022/2/20 16:41
 * @FileName: YlStockDrug
 * @version: 1.0
 * @Description: 药品入库中间表
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Data
@TableName(value = "yl_stock_drug_lin")
public class YlStockDrug extends BaseEntity {

    private static final long serialVersionUID = 1L;
    /**
     * 入库id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 药品id
     */
    private Integer num;
    /**
     * 库存信息对象
     */
    private Long stockId;
    /**
     * 药品信息对象
     */
    private Long drugId;
}
